﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace SqlServerDRControlPanel.Logging
{
    class Logging : ILogging
    {
        public Logging()
        {
        }

        #region ILogging Members
        
        public void WriteSystemLogEntry(string value)
        {
            EventLog evtLog = new EventLog("Application", ".", "SQLServerDRControlPanel");
            evtLog.WriteEntry(value);   
        }

        public void WriteLogFile(string value)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
